package com.whale.util;

public class HttpServerStatusException extends Exception{

	private static final long serialVersionUID = 1L;
	private int statusCode;
	private String responseTxt;
	public HttpServerStatusException(int status,String content){
		setStatusCode(status);
		setResponseTxt(content);
	}
	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}
	public int getStatusCode() {
		return statusCode;
	}
	public void setResponseTxt(String responseTxt) {
		this.responseTxt = responseTxt;
	}
	public String getResponseTxt() {
		return responseTxt;
	}

}
